﻿<%@ Page Language="C#" MasterPageFile="~/PrincipalCliente.Master" AutoEventWireup="true"
    CodeBehind="SolicitarBaja.aspx.cs" Inherits="UAXInversionesWeb.cliente.SolicitarBaja" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="contentConsultarDatos" ContentPlaceHolderID="ContenidoSeleccionCliente"
    runat="server">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <body>
        <div>
            <div class="style1">
                <span style="font-size: x-large">Solicitar baja</span></div>
            <hr style="width: 614px" />
            <br>
            <center>
                <asp:Panel ID="panelSolicitudBaja" runat="server" Width="559px">
                    <table border="0" cellpadding="4" cellspacing="0" style="border-collapse: collapse;"
                        width="559px" class="styleTablesUs">
                        <tr>
                            <td>
                                <table border="0" cellpadding="0" width="549px">
                                    <tr>
                                        <td align="center" colspan="3" class="styleTTopUs">
                                            Dase de baja
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" rowspan="5">
                                            <img src="../images/salir.png" style="height: 157px; width: 158px" />
                                        </td>
                                        <td align="right">
                                            ID del cliente:
                                        </td>
                                        <td style="text-align: left; width: 225px;">
                                            <asp:TextBox ID="idCliente" runat="server" Width="214px" Enabled="False" Style="text-align: left"
                                                ValidationGroup="1"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" valign="top">
                                            Motivos de la baja:
                                        </td>
                                        <td style="text-align: left; width: 225px;">
                                            <asp:TextBox ID="motivos" runat="server" Width="214px" Height="51px" Style="margin-left: 0px"
                                                Rows="2" ValidationGroup="1"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            <asp:RequiredFieldValidator ID="passwordFieldValidator" runat="server" ControlToValidate="password"
                                                ErrorMessage="*" ValidationGroup="1"></asp:RequiredFieldValidator>
                                            Contraseña:
                                        </td>
                                        <td style="width: 225px; text-align: left;">
                                            <asp:TextBox ID="password" runat="server" Width="214px" TextMode="Password" ValidationGroup="1"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="center" colspan="2">
                                            <asp:Label ID="mensaje" runat="server" ForeColor="#CC0000"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            <asp:Button ID="AceptarButton" runat="server" OnClick="Button1_Click" Text="Aceptar"
                                                Width="93px" Height="26px" Style="text-align: center" ValidationGroup="1" />
                                        </td>
                                        <td style="width: 225px">
                                            <asp:Button ID="CancelarButton" runat="server" OnClick="Button2_Click" Text="Cancelar"
                                                Width="81px" Height="26px" ValidationGroup="2" />
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
                <asp:Panel ID="yaSolicitadaPanel" runat="server" Width="395px" Visible="False">
                    <table border="0" cellpadding="4" cellspacing="0" style="border-collapse: collapse;"
                        width="395px" class="styleTablesUs">
                        <tr>
                            <td>
                                <table border="0" cellpadding="0" width="385px">
                                    <tr>
                                        <td align="center" colspan="2" class="styleTTopUs">
                                            Baja ya solicitada
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Tu solicitud de baja ha sido enviada con éxito!
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" colspan="2">
                                            <asp:Button ID="continueButton" runat="server" Height="20px" Text="Continuar" Width="103px"
                                                OnClick="continueButton_Click" ValidationGroup="3" />
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
                <br />
            </center>
        </div>
    </body>
    </html>
</asp:Content>
